package red.lsk.business.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import red.lsk.common.annotation.Excel;
import red.lsk.common.core.domain.BaseEntity;

/**
 * 充值记录对象 biz_recharge_records
 * 
 * @author ruoyi
 * @date 2024-05-09
 */
public class BizRechargeRecords extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private String id;

    /** 会员编号 */
    @Excel(name = "会员编号")
    private String memberId;

    /** 充值金额 */
    @Excel(name = "充值金额")
    private BigDecimal rechargeAmount;

    /** 账户实时余额 */
    @Excel(name = "账户实时余额")
    private BigDecimal memberBalance;

    /** 充值备注 */
    @Excel(name = "充值备注")
    private String rechargeInfo;

    /** 此次充值享受的折扣比例 */
    @Excel(name = "此次充值享受的折扣比例")
    private BigDecimal discountRatio;

    /** 会员手机号码 */
    @Excel(name = "会员手机号码")
    private String memberPhone;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setMemberId(String memberId) 
    {
        this.memberId = memberId;
    }

    public String getMemberId() 
    {
        return memberId;
    }
    public void setRechargeAmount(BigDecimal rechargeAmount) 
    {
        this.rechargeAmount = rechargeAmount;
    }

    public BigDecimal getRechargeAmount() 
    {
        return rechargeAmount;
    }
    public void setMemberBalance(BigDecimal memberBalance) 
    {
        this.memberBalance = memberBalance;
    }

    public BigDecimal getMemberBalance() 
    {
        return memberBalance;
    }
    public void setRechargeInfo(String rechargeInfo) 
    {
        this.rechargeInfo = rechargeInfo;
    }

    public String getRechargeInfo() 
    {
        return rechargeInfo;
    }
    public void setDiscountRatio(BigDecimal discountRatio) 
    {
        this.discountRatio = discountRatio;
    }

    public BigDecimal getDiscountRatio() 
    {
        return discountRatio;
    }
    public void setMemberPhone(String memberPhone) 
    {
        this.memberPhone = memberPhone;
    }

    public String getMemberPhone() 
    {
        return memberPhone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("memberId", getMemberId())
            .append("rechargeAmount", getRechargeAmount())
            .append("memberBalance", getMemberBalance())
            .append("rechargeInfo", getRechargeInfo())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("discountRatio", getDiscountRatio())
            .append("memberPhone", getMemberPhone())
            .toString();
    }
}
